package com.wrl.design.principle.dependenceinversion;

/**
 * @author Wang Renlei
 * @Date 2019/11/4 0004
 */
public class Alone {

    private ICourse iCourse;

    public void setiCourse(ICourse iCourse) {
        this.iCourse = iCourse;
    }

    public void studyCourse() {
        iCourse.studay();
    }

}
